import Vue from 'vue'
import {
    Form,
    Field,
    Button,
    Toast,
    Search,
    Col,
    Row,
    Tabbar,
    TabbarItem,
    Swipe,
    SwipeItem,
    Lazyload,
    SwipeCell,
    Card,
    NavBar,
    Tag,
    GoodsAction,
    GoodsActionIcon,
    GoodsActionButton,
    SubmitBar,
    Overlay,
    Uploader,
    Sidebar,
    SidebarItem,
    Rate,
    Popup,
    Picker
} from 'vant'


Vue.use(Form)
Vue.use(Field)
Vue.use(Button)
Vue.use(Search)
Vue.use(Col)
Vue.use(Row)
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload);
Vue.use(SwipeCell);
Vue.use(Card);
Vue.use(NavBar);
Vue.use(Tag);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(SubmitBar);
Vue.use(Overlay);
Vue.use(Uploader);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(Rate);
Vue.use(Popup);
Vue.use(Picker)

Vue.prototype.$message = Toast 